import { createApp } from "vue";
import { createPinia } from "pinia";
import App from "./App.vue";
import router from "./router";
import VueUeditorWrap from "vue-ueditor-wrap";
import ElementPlus from "element-plus";
import { i18n } from "@/locales";
import "element-plus/dist/index.css";
import "element-plus/theme-chalk/dark/css-vars.css";
import zhCn from 'element-plus/es/locale/lang/zh-cn'
import axios from "axios";

axios.defaults.baseURL = "";

const app = createApp(App);

app.provide("axios", axios);

app.use(ElementPlus, {
    locale: zhCn,
})
app.use(createPinia());
app.use(i18n);
app.use(router);
app.use(ElementPlus);
app.use(VueUeditorWrap);
app.mount("#app");
